package com.wyd.strategy.demo2;

import com.wyd.strategy.demo2.behavior.FlyBebahavior;
import com.wyd.strategy.demo2.behavior.QuackBehavior;

/**
 * @author Yudi Wang
 * @date 2022/1/5 16:54
 */
public class RubberDuck extends Duck{
    public RubberDuck() {
    }
    public RubberDuck(FlyBebahavior flyBebahavior, QuackBehavior quackBehavior) {
        this.flyBebahavior = flyBebahavior;
        this.quackBehavior = quackBehavior;
    }
}
